<?php
/**
 * licenses : MIT
 * creatTime: 2020/5/13
 * author : weblinuxgame
 * filename: Login.php
 */

namespace App\Api\Modules\User\Schemas;

use OpenApi\Annotations as OA;

/**
 * @OA\Schema(
 *     title="LoginSuccessData",
 *     description="用户登陆成功-数据模型",
 * )
 * Class Login
 * @package App\Api\User\Schemas
 */
class LoginSuccessData
{
    /**
     * @OA\Property(
     *     title="authentication",
     *     format="string",
     *     description="用户登陆临牌,默认有效期7天,请前端妥善存储"
     * )
     * @var string
     */
    public $authentication;


    /**
     * @OA\Property(
     *     format="object",
     *     title="userBaseInfo",
     *     description="用户基本信息对象",
     *     ref="#/components/schemas/UserBase",
     * )
     * @var UserBase
     */
    public $userBaseInfo;

}
